package com.qf.course.core.entity;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User extends BaseEntity implements Serializable {

  private Integer id;
  private String username;
  @JsonIgnore
  private String password;
  private String name;
  private Integer sex;
  private String header;
  private Integer role;

}
